PKG_NAME = libkiwix
PKG_VERS = 13.1.0
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/kiwix/libkiwix/archive
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

# compiler too old for cross/libzim
REQUIRED_MIN_DSM = 7.0
UNSUPPORTED_ARCHS = comcerto2k
REQUIRED_MIN_SRM = 1.3

DEPENDS = cross/libzim cross/pugixml cross/curl cross/libmicrohttpd cross/mustache

HOMEPAGE = https://www.kiwix.org/
COMMENT  = Common code base for all Kiwix ports.
LICENSE  = GPLv3

CONFIGURE_ARGS = -Dwerror=false

# Using patches/001-Fix-build-with-ICU-77.patch
# instead of passing additional LD flags
#ADDITIONAL_LDFLAGS = -licui18n -licuuc -licudata

include ../../mk/spksrc.cross-meson.mk
